<?php /* Smarty version 2.6.16, created on 2013-09-04 17:30:41
         compiled from ../templates/default/modules/testimonial/testimonials.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'stripslashes', '../templates/default/modules/testimonial/testimonials.tpl', 15, false),array('modifier', 'ucfirst', '../templates/default/modules/testimonial/testimonials.tpl', 17, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_start'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_tpl_vars['siteroot']; ?>
/templates/default/style/forms.css"/>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['header_end'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
 


<section class="middle_portion">
	<h1 class="inner_head">Testimonials</h1>
    <section class="inner_containstart">        
        <section >
        	<section class="inner_descrip">
            <section class="testimonial_list">
                <?php unset($this->_sections['at']);
$this->_sections['at']['name'] = 'at';
$this->_sections['at']['loop'] = is_array($_loop=$this->_tpl_vars['testimonialArray']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['at']['show'] = true;
$this->_sections['at']['max'] = $this->_sections['at']['loop'];
$this->_sections['at']['step'] = 1;
$this->_sections['at']['start'] = $this->_sections['at']['step'] > 0 ? 0 : $this->_sections['at']['loop']-1;
if ($this->_sections['at']['show']) {
    $this->_sections['at']['total'] = $this->_sections['at']['loop'];
    if ($this->_sections['at']['total'] == 0)
        $this->_sections['at']['show'] = false;
} else
    $this->_sections['at']['total'] = 0;
if ($this->_sections['at']['show']):

            for ($this->_sections['at']['index'] = $this->_sections['at']['start'], $this->_sections['at']['iteration'] = 1;
                 $this->_sections['at']['iteration'] <= $this->_sections['at']['total'];
                 $this->_sections['at']['index'] += $this->_sections['at']['step'], $this->_sections['at']['iteration']++):
$this->_sections['at']['rownum'] = $this->_sections['at']['iteration'];
$this->_sections['at']['index_prev'] = $this->_sections['at']['index'] - $this->_sections['at']['step'];
$this->_sections['at']['index_next'] = $this->_sections['at']['index'] + $this->_sections['at']['step'];
$this->_sections['at']['first']      = ($this->_sections['at']['iteration'] == 1);
$this->_sections['at']['last']       = ($this->_sections['at']['iteration'] == $this->_sections['at']['total']);
?>
                  <dl id="test_<?php echo $this->_tpl_vars['testimonialArray'][$this->_sections['at']['index']]['id']; ?>
">
                     <dd><article><?php echo ((is_array($_tmp=$this->_tpl_vars['testimonialArray'][$this->_sections['at']['index']]['description'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</article></dd>
                      <section class="clear"></section> 
                     <dt><?php echo ((is_array($_tmp=$this->_tpl_vars['testimonialArray'][$this->_sections['at']['index']]['firstname'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['testimonialArray'][$this->_sections['at']['index']]['lastname'])) ? $this->_run_mod_handler('ucfirst', true, $_tmp) : smarty_modifier_ucfirst($_tmp)); ?>
</dt>
                      <section class="clear"></section> 
                  </dl>
              <?php endfor; endif; ?>
            </section> <!-- testimonial_list -->       
            
              <?php if ($this->_tpl_vars['recordsFound']): ?>
               <section style="padding-bottom:10px;">
                    <section class="pagi rF"><?php if ($this->_tpl_vars['showpgnation'] == 'yes'):  echo $this->_tpl_vars['pagenation'];  endif; ?></section>
                    <section class="clear"></section>
                 </section>
              <?php endif; ?>   
       		</section>
        </section>
        <section class="clear"></section>
    </section>
</section>

	
 

 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => $this->_tpl_vars['footer'], 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>